package com.cy.pj.Controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class ModeViewController {
    @RequestMapping("/doHealth")
    public String doHealth(Model model) {
        model.addAttribute("username", "json");
        model.addAttribute("state", true);
        return "default";
    }
}
